package com.lcf.app.swagger.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author ChenFei
 * @date 2021/11/3
 */
@Data
@ApiModel("用户模型")
public class User {

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("昵称")
    private String nikeName;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("生日")
    private LocalDateTime birthday;

    @ApiModelProperty("体重")
    private Double weight;

}
